package top.xia17.plugins.fast.common.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * key value
 * @author xia17
 * @since 2021/6/22 18:33
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class KeyValue<K,V> {

    private K key;

    private V value;


    public boolean equalsKey(K key){
        return this.key.equals(key);
    }

}
